﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Admin.Master" AutoEventWireup="true" CodeBehind="score.aspx.cs" Inherits="GameAdmin.Pages.score" %>
<asp:Content ID="Content1" ContentPlaceHolderID="plcHolderContent" runat="server">
    <h2>Skóre uživatele <asp:Literal ID="literalLoginName" runat="server" /></h2>

    <asp:GridView ID="gw" CssClass="gw" AlternatingRowStyle-CssClass="alternate" HeaderStyle-CssClass="header" ClientIDMode="Predictable" AutoGenerateColumns="false" ShowHeaderWhenEmpty="true" runat="server">
        <Columns>
            <asp:BoundField HeaderText="ID" DataField="id" />
            <asp:BoundField HeaderText="Skóre" DataField="score" />
            <%--<asp:BoundField HeaderText="Čas" DataField="time" />--%>
            <asp:BoundField HeaderText="Datum" DataField="datum" />
            <asp:TemplateField ShowHeader="False">
                <ItemTemplate>
                    <asp:LinkButton runat="server" Text="Odstranit" CommandName="Delete" CommandArgument='<%# Eval("id") %>' OnClientClick="return confirm('Opravdu odstranit?');" />               
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>

    <asp:HyperLink NavigateUrl="~/Pages/users.aspx" Text="Zpět na seznam uživatelů" runat="server" />
</asp:Content>